package com.pisolution.actuator.service.constant;

/**
 * @author likai
 * @version 1.0.0
 * @ClassName ServiceInstantStatus.java
 * @Description TODO
 * @createTime 2021年09月02日 10:16:00
 */
public enum ServiceInstantStatus {
    UP("UP", 0, "在线"),
    DOWN("DOWN", 0, "下线"),
    LOST("LOST", 0, "心跳丢失");

    private String code;

    private Integer value;

    private String desc;

    ServiceInstantStatus(String code, Integer value, String desc){
        this.code = code;
        this.value = value;
        this.desc = desc;
    }

    public String getCode(){
        return code;
    }
}
